<template>
    <div>setting</div>

    <div>{{ GUI}}</div>
    <button @click="toHome">回到首页</button>
</template>
<script setup lang="ts">

import { useRouter } from "vue-router";
import { useGui } from "@store";
const { GUI, addGUI, removeGUI} = useGui();
const router = useRouter()

const toHome = () => {
    console.log("是否会走这里")
    router.push("/home")
}


</script>